package com.ksyun.cloudhostalarmprocessing.entity.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "AlertVo", description = "")
public class AlertVo {
    @ApiModelProperty("描述")
    String description;
    @ApiModelProperty("指标名称")
    String metricName;
    @ApiModelProperty("时间")
    private LocalDateTime timestamp;

    @ApiModelProperty("指标值")
    private Float value;

    @ApiModelProperty("主机名称")
    private String hostname;
}
